package io.nutz.nutzsite.common.mvc.processor;
import io.nutz.nutzsite.common.bean.OnlineSession;

import javax.servlet.http.HttpSession;

import org.nutz.mvc.ActionContext;
import org.nutz.mvc.ActionInfo;
import org.nutz.mvc.NutConfig;
import org.nutz.mvc.impl.processor.AbstractProcessor;

/**
 *  全局变量设置
 *
 * @Author: Haimming
 * @Date: 2019-10-15 16:03
 * @Version 1.0
 */
public class SessionEndProcessor extends AbstractProcessor {

    @Override
    public void init(NutConfig config, ActionInfo ai) throws Throwable {

    }

    //    @SuppressWarnings("rawtypes")
    @Override
    public void process(ActionContext ac) throws Throwable {
    	HttpSession session= ac.getRequest().getSession();
    	OnlineSession ols=new OnlineSession();
    	
        
        doNext(ac);
    }
}